﻿using System;
using System.Drawing;

namespace WindowsAPI
{
	[Serializable]
	public class OnMouseWeelEventArgs : EventArgs
	{
		public enum WeelType : uint { Up = 7864320, Down = 4287102976 }

		public WeelType Weel;
		public Point Position;

		public OnMouseWeelEventArgs(){}

		public OnMouseWeelEventArgs(WeelType Weel, Point Position = new Point())
		{
			this.Weel = Weel;
			this.Position = Position;
		}
		public OnMouseWeelEventArgs(Mouse.Message Msg, Mouse.MsllHookStruct Struct)
			:this((WeelType)Struct.MouseData, Struct.Point)
		{

		}
	}
}